package com.comac.tasks.manager.app.gatewayimpl.database.dataobject;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;
import java.util.Map;

/**
 * @author wfb
 */
@Data
@TableName("tasks_manager_done_info")
public class TasksManagerDoneDO {
    private Long id;
    /**代办内容*/
    private String tasksContent;
    /**流程实例名称*/
    private String processInstanceName;
    /**流程创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date processCreateTime;
    /**期望完成时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expectedCompletionTime;
    /**流程引擎中的任务id*/
    private String taskInstanceId;
    /**来源应用编号*/
    private String sourceApplicationNum;
    /**来源应用名称*/
    private String sourceApplicationName;
    /**来源单据id*/
    private Integer sourceBillId;
    /**来源单据编号*/
    private String sourceBillNum;
    /**来源单据版本*/
    private String sourceBillEdition;
    /**跳转连接*/
    private String jumpConnection;
    /**是否转办*/
    private Boolean isTransfer;
    /**是否紧急*/
    private Boolean isUrgent;
    /**自定义字段*/
    private String fieldArea;
    /**代办状态*/
    private String status;
    /**流程模板编码*/
    private String processCode;
    /**流程模板名称*/
    private String processName;
    /**流程实例id*/
    private String processInstanceId;
    /**流程节点状态*/
    private String processNodeStatus;
    /**节点编码*/
    private String nodeCode;
    /**节点名称*/
    private String nodeName;
    /**备注*/
    private String remark;
    /**操作人工号*/
    private String operator;
    /**操作人名称*/
    private String operatorName;
    /**创建人*/
    private String creator;
    /**代办生成时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**逻辑删除*/
    @JsonIgnore
    private String deleteFlag;

}
